/**
 *@Author: 周贞荣
 *@Date 2021/8/26 17:18
 *@Description 文件类或者方法说明
 */
import Vue from "vue";
import httpClient from "./httpClient";
import session from "./session";
import HtmlToPdfOrImg from "./HtmlToPdfOrImg";
import checkInput from "./checkInput";
import {deepCopy, formatTime, getTimeInfo, keyInList, showMoney} from "./publicMethods";
// 添加http数据请求工具类
Vue.prototype.httpClient = httpClient;
// session 请求工具包
Vue.prototype.session = session;
// dom节点转pdf
Vue.prototype.downloadPDF = HtmlToPdfOrImg.downloadPDF;
// dom节点转图片
Vue.prototype.previewImg = HtmlToPdfOrImg.previewImg;
// 追加校验方法
Vue.prototype.checkInput = checkInput;
// 判断数据是否再数组中
Vue.prototype.keyInList = keyInList;
// 数据拷贝
Vue.prototype.deepCopy = deepCopy;
// 获取时间信息
Vue.prototype.getTimeInfo = getTimeInfo;
// 时间格式转换
Vue.prototype.formatTime = formatTime;
// 显示钱
Vue.prototype.showMoney = showMoney;
// 显示视图100%
Vue.prototype.w100 = {width: '100%'};
